package com.cnyz.service;

import com.cnyz.entity.Notice;
import com.cnyz.vo.NoticeVo;

import java.util.List;

public interface NoticeService {
    public void addNotice(Notice notice);
    public void addSomeNotices(List<Notice> notices);
    public void updateNotice(Notice notice);
    public void deleteNotice(Long id);

    public NoticeVo getNoticeByID(Long id);
    public List<NoticeVo> getNoticesByUserID(Long id);
}
